package com.macro.mall.service;

import org.springframework.stereotype.Service;

import com.macro.mall.dto.BmsTodayMorningExpressParam;
import com.macro.mall.model.BmsTodayMorningExpress;
import com.macro.mall.query.BaseQuery;

import java.util.List;
import java.util.UUID;

@Service
public interface BmsTodayMorningExpressService {

    /**
     * 根据id获取今日早报信息
     * @param id
     * @return
     */
    BmsTodayMorningExpress getOneTodayMorningExpress(String id);

    /**
     * 分页查询所有数据
     * @return
     */
    List<BmsTodayMorningExpress> getAllTodayMorningExpress(BmsTodayMorningExpressParam bmsTodayMorningExpressParam);

    /**
     * 添加今日早报
     * @param bmsTodayMorningExpressParam
     * @return
     */
    int create(BmsTodayMorningExpressParam bmsTodayMorningExpressParam);

    /**
     * 删除今日早报
     * @param ids
     * @return
     */
    int delete(List<UUID> ids);

    /**
     * 修改今日早报
     * @param ids
     * @return
     */
    int update(BmsTodayMorningExpressParam bmsTodayMorningExpressParam);

}
